package com.ipcamera.demo.h5.contract;

/**
 * 支付参数
 *
 * @author: moodd
 * @date: 2019/6/10 19:21
 */
public class PayParams implements BaseEntity {
    /**
     * true:国外支付 false:国内支付
     */
    private String iap;
    private String uid;
    private String orderId;
    private String productId;
    private String title;
    private String description;
    /**
     * 金额，单位分
     */
    private int price;
    private String money;

    public PayParams() {
    }

    public PayParams(String iap, String uid, String orderId, String productId, String title, String description, int price, String money) {
        this.iap = iap;
        this.uid = uid;
        this.orderId = orderId;
        this.productId = productId;
        this.title = title;
        this.description = description;
        this.price = price;
        this.money = money;
    }

    public String getIap() {
        return iap;
    }

    public void setIap(String iap) {
        this.iap = iap;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "PayParams{" +
                "iap='" + iap + '\'' +
                ", uid='" + uid + '\'' +
                ", orderId='" + orderId + '\'' +
                ", productId='" + productId + '\'' +
                ", title='" + title + '\'' +
                ", description='" + description + '\'' +
                ", price=" + price +
                ", money='" + money + '\'' +
                '}';
    }
}
